package com.tencent.qf.team.dto.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

@Data
@JsonIgnoreProperties(value = {"unionIds"})
public class GuiderOrderCpsMultiUserstatisticResponse {
    //买家uid(导购助手账号体系的id)
    private String cpsuid;
    //gmv(元/分 根据传参unit决定)
    private BigDecimal gmv = BigDecimal.ZERO;
    //有效订单数
    private Integer orderCount = 0;
    //下单人数
    private Integer buyerCount = 0;
    //下单人数
    private Set<String> unionIds = new HashSet<>();
    //客单价
    private BigDecimal atv = BigDecimal.ZERO;

    public GuiderOrderCpsMultiUserstatisticResponse() {
    }

    public GuiderOrderCpsMultiUserstatisticResponse(String cpsuid) {
        this.cpsuid = cpsuid;
    }
}
